package ModelLayer;


public class Lending
{
    private long _id;
    private String _date;
    private String _period;
    private Person _p;
    private Copy _c;

    public Lending(long id, String date, String period, Person p, Copy c)
    {
        _id = id;
        _date = date;
        _period = period;
        _p = p;
        _c = c;
    }
    
    public long getID()
    {
        return _id;
    }
    public void setID(long id)
    {
        _id = id;
    }
    public String getDate()
    {
        return _date;
    }
    public void setDate(String date)
    {
        _date = date;
    }
    public String getPeriod()
    {
        return _period;
    }
    
    public void setPeriod(String period)
    {
        _period = period;
    }
    
    public Copy getCopy()
    {
        return _c;
    }
    
    public Person getPerson()
    {
        return _p;
    }
    
    public void setPerson(Person p)
    {
        _p = p;
    }
}
